#ifndef CONNECTIONTASK_H_
#define CONNECTIONTASK_H_

#include "Task.h"

namespace Impp
{

class ConnectionTask : public Task
{
private:
	LoginCookie loginCookie;
	ActionId id;
	
public:
	ConnectionTask(Oscar* oscar, const ActionId & id);
	virtual ~ConnectionTask();
	
	void failed();
	LoginCookie* getCookiePointer();
	ActionId getActionId();
	
private:
	virtual void timedOut();
	
};

}

#endif /*CONNECTIONTASK_H_*/
